namespace MoMing.VideoTool.Downloader.Model
{
    public class PaginatedItems<TEntity>(int pageIndex, int pageSize, long count, IEnumerable<TEntity> data) where TEntity : class
    {
        public int PageIndex => pageIndex;

        public int PageSize => pageSize;

        public long Count => count;

        public IEnumerable<TEntity> Data => data;
    }
}